package exception;

import java.awt.*;
import java.io.IOException;

/** 当派生类重新超类有声明异常抛出方法,对throws的重写规则*/
public class ThrowsDemo2 {
    //public void dosme() throws IOException, AWTError{}
    public void dosme() throws Exception{}

}
